//
//  NSObject+Property.h
//  homework
//
//  Created by Zhao Pengwei on 14-1-16.
//  Copyright (c) 2014年 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSObject (Property)

+ (void)object:(id)object setValue:(id)value forKey:(NSString *)key;

+ (void)setupObject:(id)obj1 withObject:(id)obj2;

- (id)refactorObjectToClass:(Class)aClass;
- (id)refactorPBToClass:(Class)aClass;

- (id)refactorObjectToClassAndChangeValueToObject:(Class)aClass;
+ (void)setupObject:(id)obj1 withObject:(id)obj2 changeValueToObject:(BOOL)change;

@end
